package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
import java.util.List;

/**
 * @Author 熊冰 物料流程
 * @Date 2019/11/25 9:31
 */
public class MatFlow extends BasePojo {
    /**
     * @Author 熊冰 物料流程id
     * @Date 2019/11/25 9:14
     */
    private Integer matFlowId;
    /**
     * @Author 熊冰 顺序号
     * @Date 2019/11/25 9:20
     */
    private Integer serialNum;
    /**
     * @Author 熊冰 版本id
     * @Date 2019/11/25 9:20
     */
    private Integer matVerId;
    /**
     * @Author 熊冰 工序id
     * @Date 2019/11/25 9:20
     */
    private Integer proId;
    /**
     * @Author 熊冰 是否并序
     * @Date 2019/11/25 9:20
     */
    private Integer sequence;
    /**
     * @Author 熊冰 上道工序
     * @Date 2019/11/25 9:21
     */
    private String risePro;
    /**
     * @Author 熊冰 下道工序
     * @Date 2019/11/25 9:21
     */
    private String nextPro;
    /**
     * @Author 熊冰 创建时间
     * @Date 2019/11/25 9:21
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * @Author 熊冰 修改时间
     * @Date 2019/11/25 9:21
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * @Author 熊冰 说明
     * @Date 2019/11/25 9:21
     */
    private String remark;
    /**
     * @Author 熊冰 数据状态
     * @Date 2019/11/25 9:22
     */
    private Integer dataState;

    /**
     * @Author 熊冰 工序名称
     * @Date 2019/11/25 9:22
     */
    private String proName;
    /**
     * @Author 熊冰 工序类型
     * @Date 2019/11/25 9:22
     */
    private String proTypeName;
    /**
     * @Author 熊冰 产品流程工位集合
     * @Date 2019/11/25 9:22
     */
    private List<MatStation> matStationList;
    /**
     * @Author 熊冰 产品流程采集参数集合
     * @Date 2019/11/25 9:23
     */
    private List<MatDete> matDeteList;
    /**
     * @Author 熊冰 产品流程关键物料
     * @Date 2019/11/25 9:23
     */
    private List<MatBom> matBomList;
    /**
     * @Author 熊冰 产品流程不良现象
     * @Date 2019/11/25 9:24
     */
    private List<MatBadpheno> matBadphenoList;
    /**
     * 新的工序id louk
     */
    private Integer newMatVerId;
    /**
     * 旧的工序id louk
     */
    private Integer oldMatFlowId;
    /**
     * 任务单流程下的工序流程 louk
     * @return
     */
    private Integer orderFlowId;
    /**
     * 任务单流程的版本 louk
     */
    private Integer orderTechId;

    public Integer getOrderTechId() {
        return orderTechId;
    }

    public void setOrderTechId(Integer orderTechId) {
        this.orderTechId = orderTechId;
    }

    public Integer getOrderFlowId() {
        return orderFlowId;
    }

    public void setOrderFlowId(Integer orderFlowId) {
        this.orderFlowId = orderFlowId;
    }

    public Integer getOldMatFlowId() {
        return oldMatFlowId;
    }

    public void setOldMatFlowId(Integer oldMatFlowId) {
        this.oldMatFlowId = oldMatFlowId;
    }

    public Integer getNewMatVerId() {
        return newMatVerId;
    }

    public void setNewMatVerId(Integer newMatVerId) {
        this.newMatVerId = newMatVerId;
    }

    public List<MatDete> getMatDeteList() {
        return matDeteList;
    }

    public void setMatDeteList(List<MatDete> matDeteList) {
        this.matDeteList = matDeteList;
    }

    public List<MatBom> getMatBomList() {
        return matBomList;
    }

    public void setMatBomList(List<MatBom> matBomList) {
        this.matBomList = matBomList;
    }

    public List<MatBadpheno> getMatBadphenoList() {
        return matBadphenoList;
    }

    public void setMatBadphenoList(List<MatBadpheno> matBadphenoList) {
        this.matBadphenoList = matBadphenoList;
    }

    public List<MatStation> getMatStationList() {
        return matStationList;
    }

    public void setMatStationList(List<MatStation> matStationList) {
        this.matStationList = matStationList;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProTypeName() {
        return proTypeName;
    }

    public void setProTypeName(String proTypeName) {
        this.proTypeName = proTypeName;
    }

    public Integer getMatFlowId() {
        return matFlowId;
    }

    public void setMatFlowId(Integer matFlowId) {
        this.matFlowId = matFlowId;
    }

    public Integer getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }

    public Integer getMatVerId() {
        return matVerId;
    }

    public void setMatVerId(Integer matVerId) {
        this.matVerId = matVerId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public String getRisePro() {
        return risePro;
    }

    public void setRisePro(String risePro) {
        this.risePro = risePro == null ? null : risePro.trim().replace(" ","");
    }

    public String getNextPro() {
        return nextPro;
    }

    public void setNextPro(String nextPro) {
        this.nextPro = nextPro == null ? null : nextPro.trim().replace(" ","");
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}